/**
 * @description 页面路由
 * @author wangxin
 * @date 2020-6-1
 * @version 1.0
 */
import { Router, POWERS } from "_/schema";
export default [
  new Router("generator-home", "", 'global-home')
    .path('/generator').redirect('/generator/index')
    .disablePermission().isNullComponent()
    .hideInMenu()
    .append(
      new Router('generator-index', '', '代码生成器')
        .path('index').powers([POWERS.BROWSER])
        .component(() => import(/* webpackChunkName: "views" */'../pages/index.vue'))
    )
    .build()
]
